﻿using ServiceStack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using unvs.Base;

namespace unvs.human
{
    [Route("/human/list/{Entity}")]
    
    public class HumanRequest : BaseRequest, IReturn<HumanResponse>
    {
        public string Entity { get; set; }
        public string Filter { get; set; }
    }
    public class HumanResponse : BaseResponse
    {
       
        public Exception Exception { get; set; }

        public IEnumerable<object> Data { get; set; }
    }
    [Route("/human/get/{Entity}/{ID}")]
    public class HumanItemRequest : BaseRequest, IReturn<HumanItemResponse>
    {
        public string Entity { get; set; }
        public string ID{get;set;}
    }
    public class HumanItemResponse : BaseResponse
    {
        public object Data { get; set; }
        public Exception Exception { get; set; }
    
public  string ID { get; set; }}
}
